<form action="" class="form-horizontal" data-toggle="validator" id="add-form" method="POST" role="form">
  <input type="hidden" name="row[order_id]" value="{$row.order_id}">
  <div class="form-group basic_info">
    <label class="control-label col-xs-12 col-sm-2"><span style="color: red">*</span>售后原因:</label>
    <div class="col-xs-12 col-sm-8">
      {:build_radios('row[refund_reason]', [1=>'非加装电梯首次服务不满意退款', 2=>'7天内未使用申请退款',3=>'其它'])}
    </div>
  </div>
  <div class="form-group basic_info">
    <label class="control-label col-xs-12 col-sm-2">补充原因:</label>
    <div class="col-xs-12 col-sm-8">
      <textarea class="col-xs-12 col-sm-8 "  data-multiple="false" data-field="title" data-pagination="true"
                id="" name="row[refund_explain]" style="padding: 5px;" ></textarea>
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2" for="c-avatar">补充证据:</label>
    <div class="col-xs-12 col-sm-8">
      <div class="input-group">
        <input class="form-control" data-rule="" id="c-avatar" name="row[refund_img]" size="50" type="text"
               value="">
        <div class="input-group-addon no-border no-padding">
                    <span><button class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="true"
                                  data-preview-id="p-avatar"
                                  id="faupload-avatar" type="button"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
          <span><button class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*"
                        data-multiple="false" id="fachoose-avatar" type="button"><i
                  class="fa fa-list"></i> {:__('Choose')}</button></span>
        </div>
        <span class="msg-box n-right" for="c-avatar"></span>
      </div>
      <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
    </div>
  </div>

  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button class="btn btn-success btn-embossed " type="submit">{:__('OK')}</button>
      <button class="btn btn-default btn-embossed" type="reset">{:__('Reset')}</button>
    </div>
  </div>
</form>
